package com.iflytek.exam.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.iflytek.common.annotation.Excel;
import com.iflytek.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
public class ExamVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

//    /** 试卷 */
//    @Excel(name = "试卷")
//    private Long id;

    /** 考试标题 */
    @Excel(name = "考试名称")
    private String name;

    /** 考试说明 */
    @Excel(name = "考试说明")
    private String info;

    /** 考试开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考试开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 考试答题允许时间 */
    @Excel(name = "考试答题允许时间")
    private Long time;

    /** 考试结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考试结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 每个单选分数 */
    private Long singleScore;

    /** 每个单选个数 */
    private Long singleWhich;

    /** 每个多选分数 */
    private Long multipleScore;

    /** 每个多选个数 */
    private Long multipleWhich;

    /** 每个判断分数 */
    private Long judgeScore;

    /** 每个判断个数 */
    private Long judgeWhich;

    /** 每个简答分数 */
    private Long shortAnswerScore;

    /** 每个简答个数 */
    private Long shortAnswerWhich;

    /** 考试标题图片 */
    private String img;

    /** 题库的id */
    private long quBankId;
}
